package br.com.winesys.geta.editor;

import java.util.Map;
import javax.swing.JComponent;

public interface Editor<Model> {

	public void setEnabled(boolean enabled);

	public boolean validate();
	
	public void cleanValidation();

	public void setObject(Model object);

	public Model getObject();

	public void setProperties(Map<String, Object> properties);

	public Map<String, Object> getProperties();

	public JComponent getComponent();
}
